#ifndef MYCOIN_H
#define MYCOIN_H

#include <QWidget>
#include<QPushButton>
#include<QTimer>
class MyCoin : public QPushButton
{
    Q_OBJECT
public:
    //explicit MyCoin(QWidget *parent = nullptr);
    MyCoin(QString btimg);
    void changFlg();
    void mousePressEvent(QMouseEvent *e);
    QTimer* timer1;
    QTimer* timer2;
    int min=1;
    int max=8;
    int posX;
    int poxY;
    bool flag;
    bool animation=false;
signals:

};

#endif // MYCOIN_H
